﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ArtType.ascx.cs" Inherits="CMS_Control_ArtType" %>
<%@ Reference VirtualPath="HtmlEditor.ascx" %>

<script>
    function ShowFck(vid) {
        var fc = document.getElementById("fc");
        var pu = document.getElementById("pu");
        if (vid == "2") {
            fc.style.display = "block";
            pu.style.display = "none";
        }
        else {
            fc.style.display = "none";
            pu.style.display = "block";
        }

    }
</script>
<asp:DropDownList ID="geshi" runat="server" onchange="ShowFck(this.value)">
    <asp:ListItem Selected="True" Value="2">htm文章</asp:ListItem>
    <asp:ListItem Value="3">Dwf文件</asp:ListItem>
    <asp:ListItem Value="4">Pdf文件</asp:ListItem>
    <asp:ListItem Value="5">Doc文件</asp:ListItem>
    <asp:ListItem Value="6">Xls文件</asp:ListItem>
    <asp:ListItem Value="7">Ppt文件</asp:ListItem>
    <asp:ListItem Value="8">Dwg文件</asp:ListItem>
    <asp:ListItem Value="9">扫描图象</asp:ListItem>
    <asp:ListItem Value="10">其他文件</asp:ListItem>
</asp:DropDownList>
